home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Embedding a GIF file < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Embedding a GIF file
  2. Sent:        6/21/96 2:44 PM
  3. Received:    6/24/96 8:26 AM
  4. From:        Mary Boetcher, mary_boetcher@quickmail.apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Mail*LinkĀ® SMTP               RE>Embedding a GIF file
  9.  
  10. >>When we drag in a GIF file into our part, we get the following debug message:
  11. >>  The autodestruct class FW_CPrivOrderedCollectionIterator is missing an
  12. FW_END_CONSTRUCTOR.
  13. >>
  14. >>We tried it with Draw and got the same message.  The following is part of
  15. >>the stack crawl.
  16. >>
  17. >>
  18. >>ODPartWrapperRequestFrameShape
  19. >>ODFDrawRequestFrameShape
  20. >>FW_CODPart::RequestFrameShape(Environment *ev,
  21. >>FW_CEmbeddingFrame::GetProxy(Environment *ev, ODFrame* embeddedFrame) const
  22. >>FW_CEmbeddingPart::GetProxy(Environment* ev, ODFrame* embeddedFrame) const
  23. >>FW_CPartProxyFrameIterator::Next()
  24. >>FW_CPartProxyFrameIterator::PrivFirstFrame(FW_MProxy* proxy)
  25. >>FW_CPrivOrderedCollectionIterator::~FW_CPrivOrderedCollectionIterator()
  26. >>
  27. >>FW_AutoDestructed
  28. >>FW_CDebugConsole::DebugMessage(const char*)
  29.  
  30. We weren't able to reproduce this problem. However, when looking at the code for FW_CPartProxyFrameIterator, we noticed that an iterator it creates (FW_CProxyProxyFrameIterator) is missing the exception-handling macros     FW_END_CONSTRUCTOR and FW_START_DESTRUCTOR from its constructor and destructor. You could try adding the macros and rebuilding the Framework.
  31.  
  32. Mary Boetcher
  33. ODF Person
  34.